package com.zyt.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 *    author  varchar(35),-- 作者
 *    salenum  int(10)  not null,-- 销量
 *    messages   varchar(360),-- 内容简介
 *    Dangprice  double(12, 2) not null,-- 当当价
 *    product_image varchar(100)-- 商品图片
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book {
    private Integer bookid;
    private Integer cid;
    private String bookname;
    private Double bookprice;
    private String groundingDate;
    private Integer inventory;
    private String author;
    private Integer salenum;
    private String messages;
    private Double dangprice;
    private String productimage;
}
